package com.mccrea.pattern.proxy.staticproxy;

/**
 * @Classname Client
 * @Description 静态代理测试
 * @Date 2021/5/14 0014 17:52
 * @Created by Mccrea_Gao
 */
public class Client {
    public static void main(String[] args) {
        ITeacherDao teacherDao = new TeacherDao();
        ITeacherDao teacherDaoProxy = new TeacherDaoProxy(teacherDao);
        teacherDaoProxy.teache();
    }
}
